<div class="div_page">
<div class="div_page_inner"> 

<div class="div_title"> <?php 
  echo phrase::__("Password manager"); ?>
</div>
<div>&nbsp;</div> <?php

$count = 0;
$lastkey = lastkey($this->passwords);
foreach ($this->passwords as $key=>$password) { ?>
  <div class="div_underlined"><?php 
    echo phrase::__("Password"); ?> #<?php echo $count; ?>
  </div> 
  <div class="div_dt_pwds">
  <table class="tbl_dt_pwds">
    <tr>
      <td><?php echo phrase::__("User name"); ?></td>
      <td><?php echo $password["user_name"]; ?></td>
    </tr>
    <tr>
      <td>SHA1</td>
      <td><?php echo $password["sha1"]; ?></td>
    </tr>
    <tr>
      <td>MD5</td>
      <td><?php echo $password["md5"]; ?></td>
    </tr>   
    <tr>
      <td><?php echo phrase::__("Password type"); ?></td>
      <td><?php echo $password["type"]; ?></td>
    </tr>  
    <tr>
      <td><?php echo phrase::__("Module"); ?></td>
      <td><?php echo $password["module"]; ?></td>
    </tr>      
  </table>
  </div> <?php
  if ($key!=$lastkey) { ?>
    <div>&nbsp;</div> <?php
  }
  $count++;
} ?>

</div>
</div>